<h1>Listing sexes</h1>

<table>
  <tr>
    <th>Value</th>
    <th>Description</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @sexes.each do |sex| %>
  <tr>
    <td><%= sex.value %></td>
    <td><%= sex.description %></td>
    <td><%= link_to 'Show', sex %></td>
    <td><%= link_to 'Edit', edit_sex_path(sex) %></td>
    <td><%= link_to 'Destroy', sex, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Sex', new_sex_path %>
